// 当前这个模块：API进行统一管理
import request from "./request";
import mockRequest from "./mockAjax";

/**
 *  三级联动接口
 * /api/product/getBaseCategoryList
 * get
 * 无参数
 */
// 发请求:axios发请求返回结果是Promise对象
// export const reqCategoryList =()=>{
//   return  request({url:'/product/getBaseCategoryList',method:'get'})
// }
export const reqCategoryList = () =>
  request({ url: "/product/getBaseCategoryList", method: "get" });


  export const reqGetBannerList=()=>mockRequest.get('/banner')